package com.liu.system.manage.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 *  用户
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DUser {


    private String id;

    private String name;

    private String nickName;


    private String password;
//   用户激活状态
    private Integer isActive;

//    这个字段存放头像地址
    private String avatar;

    private String iphone;
//   vue 框架中的自我介绍
    private String introduction;

    private Date createTime;

    private Date updateTime;

    @TableLogic
    private Integer flag;


    public DUser(String id, String name, String nickName) {
        this.id = id;
        this.name = name;
        this.nickName = nickName;
    }


}
